<?php /* Smarty version 2.6.18, created on 2016-12-19 13:35:01
         compiled from group/group.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
                <div class="box-header with-border">
                    <span class="fa fa-user-plus" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">用户组列表 <a href="index.php?a=group.userlist&group_id=0">(未分组用户 <?php echo $this->_tpl_vars['ungroup_count']; ?>
 个)</a></p>
                    <a href="index.php?a=group.add" class="btn btn-success btn-sm" style="float:right; color:#fff;">添加用户组</a>
                </div>
                   <div class="box-body">
                        <form name="myform" action="index.php?a=link.order" method="post">
                        <table class="table table-bordered"  id="mytable">
                                <thead>
                                    <tr>
                                        <td>id</td>
                                        <td>组名称</td>
										<td>成员数</td>
										<td>添加时间</td>
										<td>操作</td>
                                    </tr>	
                                </thead>
                                <tbody>
								<?php $_from = $this->_tpl_vars['group_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                                    <tr>
                                        <td><?php echo $this->_tpl_vars['value']['group_id']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['value']['group_name']; ?>
</td>
                                        <td><a href="index.php?a=group.user&group_id=<?php echo $this->_tpl_vars['value']['group_id']; ?>
"><?php echo $this->_tpl_vars['value']['user_count']; ?>
</a></td>
                                        <td><?php echo $this->_tpl_vars['value']['create_time']; ?>
</td>
										<td>
										<a href="index.php?a=group.pms&group_id=<?php echo $this->_tpl_vars['value']['group_id']; ?>
">组权限设置</a>
										<!--
										<a href="index.php?a=group.user&group_id=<?php echo $this->_tpl_vars['value']['group_id']; ?>
">组用户管理</a>-->
										<a href="index.php?a=group.update&group_id=<?php echo $this->_tpl_vars['value']['group_id']; ?>
">修改</a>
										<a href="index.php?a=group.del&group_id=<?php echo $this->_tpl_vars['value']['group_id']; ?>
" onclick="if(confirm('警告！确认删除信息?')==false)return false;">删除</a>
										</td>
                                    </tr>	
								<?php endforeach; endif; unset($_from); ?>
                                </tbody>	
                        </table>
								<br/>
                                </form>
								<?php echo $this->_tpl_vars['page']; ?>

				   </div><!--box-body -->
           </div><!--box box-default box-solid-->
        </section>    
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
